#include "ZigbusServoPosition.h"

ZigbusServoPosition::ZigbusServoPosition()
    : ZigbusItem(-1, SERVO_POSITION_SIZE)
{
}

ZigbusServoPosition::ZigbusServoPosition(int value)
    : ZigbusItem(value, SERVO_POSITION_SIZE)
{
}

ZigbusServoPosition::ZigbusServoPosition(const ZigbusServoPosition &other)
    : ZigbusItem(other)
{
}

QString ZigbusServoPosition::text() const
{
    return QString::number(getValue());

}
